package com.sky.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author yangkexuan
 * @className OrdersStatusAllDTO
 * @date 2023/6/14 23:52
 * @description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class OrdersStatusAllDTO {
    private Long id;
    /**
     * 订单状态 1待付款 2待接单 3 已接单 4 派送中 5 已完成 6 已取消 7 退款
     */
    private Integer status;
    /**
     * 订单取消原因
     */
    private String cancelReason;
    /**
     * 订单拒绝原因
     */
    private String rejectionReason;
    /**
     * 订单取消时间
     */
    private LocalDateTime cancelTime;
}
